package com.hx.study.domain;

import com.hx.common.annotation.Excel;
import com.hx.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 考试题库对象 el_paper_repository
 *
 * @author user
 * @date 2022-06-06
 */
public class PaperRepository extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Integer id;

    /**
     * 试卷ID
     */
    @Excel(name = "试卷ID")
    private Integer paperId;

    /**
     * 题库
     */
    @Excel(name = "题库")
    private String repositoryId;

    /**
     * 单选题数量
     */
    @Excel(name = "单选题数量")
    private Integer radioCount;

    /**
     * 单选题分数
     */
    @Excel(name = "单选题分数")
    private Integer radioScore;

    /**
     * 多选题数量
     */
    @Excel(name = "多选题数量")
    private Integer multiCount;

    /**
     * 多选题分数
     */
    @Excel(name = "多选题分数")
    private Integer multiScore;

    /**
     * 填空题数量
     */
    @Excel(name = "填空题数量")
    private Integer fillCount;

    /**
     * 填空题分数
     */
    @Excel(name = "填空题分数")
    private Integer fillScore;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setPaperId(Integer paperId) {
        this.paperId = paperId;
    }

    public Integer getPaperId() {
        return paperId;
    }

    public void setRepositoryId(String repositoryId) {
        this.repositoryId = repositoryId;
    }

    public String getRepositoryId() {
        return repositoryId;
    }

    public void setRadioCount(Integer radioCount) {
        this.radioCount = radioCount;
    }

    public Integer getRadioCount() {
        return radioCount;
    }

    public void setRadioScore(Integer radioScore) {
        this.radioScore = radioScore;
    }

    public Integer getRadioScore() {
        return radioScore;
    }

    public void setMultiCount(Integer multiCount) {
        this.multiCount = multiCount;
    }

    public Integer getMultiCount() {
        return multiCount;
    }

    public void setMultiScore(Integer multiScore) {
        this.multiScore = multiScore;
    }

    public Integer getMultiScore() {
        return multiScore;
    }

    public void setFillCount(Integer fillCount) {
        this.fillCount = fillCount;
    }

    public Integer getFillCount() {
        return fillCount;
    }

    public void setFillScore(Integer fillScore) {
        this.fillScore = fillScore;
    }

    public Integer getFillScore() {
        return fillScore;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("paperId", getPaperId())
                .append("repositoryId", getRepositoryId())
                .append("radioCount", getRadioCount())
                .append("radioScore", getRadioScore())
                .append("multiCount", getMultiCount())
                .append("multiScore", getMultiScore())
                .append("fillCount", getFillCount())
                .append("fillScore", getFillScore())
                .toString();
    }
}
